//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

@Component
@Configuration
@ConfigurationProperties(
        prefix = "wx"
)
public class WechatConfig {
    private String appid = "wx8d6fa9430d7e22a4";
    private String secret = "41324771afe3a5684a199972ca2f284c";
    private String code;
    private String access_token;
    private String IEaccess_token;
    private String openid;

    public WechatConfig() {
    }

    public String getAppid() {
        return this.appid;
    }

    public String getSecret() {
        return this.secret;
    }

    public String getCode() {
        return this.code;
    }

    public String getAccess_token() {
        return this.access_token;
    }

    public String getIEaccess_token() {
        return this.IEaccess_token;
    }

    public String getOpenid() {
        return this.openid;
    }

    public void setAppid(final String appid) {
        this.appid = appid;
    }

    public void setSecret(final String secret) {
        this.secret = secret;
    }

    public void setCode(final String code) {
        this.code = code;
    }

    public void setAccess_token(final String access_token) {
        this.access_token = access_token;
    }

    public void setIEaccess_token(final String IEaccess_token) {
        this.IEaccess_token = IEaccess_token;
    }

    public void setOpenid(final String openid) {
        this.openid = openid;
    }

    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof WechatConfig)) {
            return false;
        } else {
            WechatConfig other = (WechatConfig)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                Object this$appid = this.getAppid();
                Object other$appid = other.getAppid();
                if (this$appid == null) {
                    if (other$appid != null) {
                        return false;
                    }
                } else if (!this$appid.equals(other$appid)) {
                    return false;
                }

                Object this$secret = this.getSecret();
                Object other$secret = other.getSecret();
                if (this$secret == null) {
                    if (other$secret != null) {
                        return false;
                    }
                } else if (!this$secret.equals(other$secret)) {
                    return false;
                }

                Object this$code = this.getCode();
                Object other$code = other.getCode();
                if (this$code == null) {
                    if (other$code != null) {
                        return false;
                    }
                } else if (!this$code.equals(other$code)) {
                    return false;
                }

                label62: {
                    Object this$access_token = this.getAccess_token();
                    Object other$access_token = other.getAccess_token();
                    if (this$access_token == null) {
                        if (other$access_token == null) {
                            break label62;
                        }
                    } else if (this$access_token.equals(other$access_token)) {
                        break label62;
                    }

                    return false;
                }

                label55: {
                    Object this$IEaccess_token = this.getIEaccess_token();
                    Object other$IEaccess_token = other.getIEaccess_token();
                    if (this$IEaccess_token == null) {
                        if (other$IEaccess_token == null) {
                            break label55;
                        }
                    } else if (this$IEaccess_token.equals(other$IEaccess_token)) {
                        break label55;
                    }

                    return false;
                }

                Object this$openid = this.getOpenid();
                Object other$openid = other.getOpenid();
                if (this$openid == null) {
                    if (other$openid != null) {
                        return false;
                    }
                } else if (!this$openid.equals(other$openid)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(final Object other) {
        return other instanceof WechatConfig;
    }


    public String toString() {
        return "WechatConfig(appid=" + this.getAppid() + ", secret=" + this.getSecret() + ", code=" + this.getCode() + ", access_token=" + this.getAccess_token() + ", IEaccess_token=" + this.getIEaccess_token() + ", openid=" + this.getOpenid() + ")";
    }
}
